<%@ tag description="genre menu voor site" pageEncoding="UTF-8"%> 
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="contextPath" value="${pageContext.servletContext.contextPath }"/>

<head>
	<link rel="stylesheet" href="${contextPath}/styles/default.css"/>
</head>

<div>
	<nav>
		<ul class="menu">
			<c:forEach var="genre" items="${genres }">
				<c:url value="/" var="rootURL">
					<c:param name="naam" value="${genre }"></c:param>
				</c:url>
	    		<li>
	    			<a href="${rootURL }">${genre }</a>
    			</li>
			</c:forEach>	
		</ul>
	</nav>
</div> 